package reflect;

import reflect.annotation.AutoRunClass;
import reflect.annotation.AutoRunMethod;

@AutoRunClass
public class Student {

    public Student() {

    }

@AutoRunMethod(1)
    public void study() {
        System.out.println("学生:good good study,day day up!");
    }

@AutoRunMethod(2)
    public void sleep() {
        System.out.println("学生:睡觉");
    }


    public void playGame() {
        System.out.println("学生:玩游戏");
    }
}
